<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>Title</title>
</head>
<body>
<div th:fragment="moneyDetail" class="well well-lg" style="margin-bottom: 0px;">
    <table class="table table-bordered" style="margin-bottom: 0px;">
        <tr class="info">
            <th width="10%">币种</th>
            <th>面额</th>
            <th>张数</th>
            <th>金额</th>
        </tr>
        <!--/*@thymesVar id="logs" type="java.util.List<com.weirong.smartvault.backservice.entity_model.MoneyLogCollectionModel<com.weirong.smartvault.backservice.entity_model.MoneyLogModel>>"*/-->
        <div th:each="log,iter:${logs}">
            <tr>
                <td th:rowspan="${log.getSize()}" th:text="${log.getCurrencyName()}">美元</td>
                <td th:text="${log.first().getDenominationType()}">1</td>
                <td th:text="${log.first().getAmount()}">1000</td>
                <td th:text="${log.first().getSum()}">1000</td>
            </tr>
            <tr th:each="another,iter:${log.rest()}">
                <td th:text="${another.getDenominationType()}">5</td>
                <td th:text="${another.getAmount()}">100</td>
                <td th:text="${another.getSum()}">500</td>
            </tr>
            <tr>
                <td>总计</td>
                <td colspan="3" th:text="${log.getSum()}">33500</td>
            </tr>
        </div>

    </table>
</div>
</body>
</html>